package com.zenithmind.article.pojo.domain;

import com.zenithmind.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "评论实体", description = "评论实体")
public class Comment extends BaseEntity {


    @Schema(description = "文章ID")
    private String articleId;


    @Schema(description = "评论用户ID")
    private String userId;


    @Schema(description = "父评论ID")
    private String parentId;


    @Schema(description = "评论内容")
    private String content;


    @Schema(description = "点赞数")
    private Integer likeCount;


    @Schema(description = "状态：0-待审核，1-已通过，2-已删除")
    private Integer status;


}
